package cn.nebula.core.base.service;

import java.util.Collection;

import cn.nebula.core.base.dao.BaseDAO;
import cn.nebula.core.base.dao.DataPackage;
import cn.nebula.core.base.model.ValueObject;

/****************************************************
* 文件名：BaseServiceImpl.java
* 文件描述：基类业务实现类
* 创建人： isquen, 2011 年6 月10 日
* 版本号：1.0
* 修改记录：
****************************************************/
public class BaseServiceImpl implements BaseService{
	
	private static final long serialVersionUID = -4389699935531296316L;
	
	private BaseDAO baseDAO;


	public BaseDAO getBaseDAO() {
		return baseDAO;
	}

	public void setBaseDAO(BaseDAO baseDAO) {
		this.baseDAO = baseDAO;
	}

	public void doCreate(ValueObject vo) throws Exception {
		
	}

	public void doCreate(ValueObject[] vos) throws Exception {
		// TODO Auto-generated method stub
		
	}

	public void doCreate(Collection<ValueObject> cols) throws Exception {
		// TODO Auto-generated method stub
		
	}

	public int doGetTotalLines(String sql) throws Exception {
		// TODO Auto-generated method stub
		return 0;
	}

	public DataPackage<ValueObject> doQuery() throws Exception {
		return null;
	}

	public void doRemove(String key) throws Exception {
		
	}

	public void doRemove(String[] keys) throws Exception {
		
	}

	public void doRemove(ValueObject vo) throws Exception {
		// TODO Auto-generated method stub
		
	}

	public void doUpdate(ValueObject vo) throws Exception {
	}

	public void doUpdate(ValueObject[] vos) throws Exception {
		// TODO Auto-generated method stub
		
	}

	public void doUpdate(Collection<ValueObject> cols) throws Exception {
		// TODO Auto-generated method stub
		
	}

	public ValueObject doView(String key) throws Exception {
		baseDAO.create(null);
		return null;
	}

	public DataPackage<ValueObject> doViewByName(String name) throws Exception {
		return null;
	}
	
}
